package io.github.talelin.latticy.mapper;

import io.github.talelin.latticy.bo.CategoryWithChildBO;
import io.github.talelin.latticy.model.CategoryDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author mall@Alice
 * @since 2020-11-26
 */
@Repository
public interface CategoryMapper extends BaseMapper<CategoryDO> {
     List<CategoryWithChildBO> getAllCategory();
}
